package com.roads.supervisor.domain.summary;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.roads.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 监理汇总中期支付证书对象 sup_summary_ipc
 *
 * @author nhp
 * @date 2022-07-18
 */
public class SupSummaryIpc extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 标段编码
     */
    private String bdbh;

    /**
     * 期次
     */
    private String qc;

    /**
     * 支付项目名称
     */
    private String xmmc;

    /**
     * 支付项目编号
     */
    private String xmbh;

    /**
     * 项目排序
     */
    private Long px;

    /**
     * 符号 1标识正数 -1标识负数
     */
    private BigDecimal fh;

    /**
     * 计算方式 1.百章清单 2.求和 3.百分比 4.固定值 5.其他
     */
    private Integer jsfs;

    /**
     * 百章项目，对应计算方式1
     */
    private String bzxm;

    /**
     * 求和项目，对应计算方式2
     */
    private String hjxm;

    /**
     * 百分比项目，对应计算方式3
     */
    private String bfbxm;

    /**
     * 百分比系数，对应计算方式3
     */
    private BigDecimal bfb;

    /**
     * 合同施工期金额
     */
    private BigDecimal htsgje;

    /**
     * 合同冬休期金额
     */
    private BigDecimal htdxje;

    /**
     * 合同缺陷期金额
     */
    private BigDecimal htqxje;

    /**
     * 合同合计金额
     */
    private BigDecimal hthjje;

    /**
     * 上期末施工期金额
     */
    private BigDecimal sqmsgje;

    /**
     * 上期末冬休期金额
     */
    private BigDecimal sqmdxje;

    /**
     * 上期末缺陷期金额
     */
    private BigDecimal sqmqxje;

    /**
     * 上期末合计金额
     */
    private BigDecimal sqmhjje;

    /**
     * 本期施工期金额
     */
    private BigDecimal bqsgje;

    /**
     * 本期冬休期金额
     */
    private BigDecimal bqdxje;

    /**
     * 本期缺陷期金额
     */
    private BigDecimal bqqxje;

    /**
     * 本期合计金额
     */
    private BigDecimal bqhjje;

    /**
     * 本期末施工金额
     */
    private BigDecimal bqmsgje;

    /**
     * 本期末冬休金额
     */
    private BigDecimal bqmdxje;

    /**
     * 本期末缺陷金额
     */
    private BigDecimal bqmqxje;

    /**
     * 本期末合计金额
     */
    private BigDecimal bqmhjje;

    /**
     * 本期完成比例
     */
    private Integer bqwcbl;

    /**
     * 本期末比例
     */
    private Integer bqmwcbl;

    /**
     * 创建者
     */
    private String cjz;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date cjsj;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setBdbh(String bdbh) {
        this.bdbh = bdbh;
    }

    public String getBdbh() {
        return bdbh;
    }

    public String getQc() {
        return qc;
    }

    public void setQc(String qc) {
        this.qc = qc;
    }

    public void setXmmc(String xmmc) {
        this.xmmc = xmmc;
    }

    public String getXmmc() {
        return xmmc;
    }

    public void setXmbh(String xmbh) {
        this.xmbh = xmbh;
    }

    public String getXmbh() {
        return xmbh;
    }

    public void setPx(Long px) {
        this.px = px;
    }

    public Long getPx() {
        return px;
    }

    public void setFh(BigDecimal fh) {
        this.fh = fh;
    }

    public BigDecimal getFh() {
        return fh;
    }

    public void setJsfs(Integer jsfs) {
        this.jsfs = jsfs;
    }

    public Integer getJsfs() {
        return jsfs;
    }

    public void setBzxm(String bzxm) {
        this.bzxm = bzxm;
    }

    public String getBzxm() {
        return bzxm;
    }

    public void setHjxm(String hjxm) {
        this.hjxm = hjxm;
    }

    public String getHjxm() {
        return hjxm;
    }

    public void setBfbxm(String bfbxm) {
        this.bfbxm = bfbxm;
    }

    public String getBfbxm() {
        return bfbxm;
    }

    public void setBfb(BigDecimal bfb) {
        this.bfb = bfb;
    }

    public BigDecimal getBfb() {
        return bfb;
    }

    public void setHtsgje(BigDecimal htsgje) {
        this.htsgje = htsgje;
    }

    public BigDecimal getHtsgje() {
        return htsgje;
    }

    public void setHtdxje(BigDecimal htdxje) {
        this.htdxje = htdxje;
    }

    public BigDecimal getHtdxje() {
        return htdxje;
    }

    public void setHtqxje(BigDecimal htqxje) {
        this.htqxje = htqxje;
    }

    public BigDecimal getHtqxje() {
        return htqxje;
    }

    public void setHthjje(BigDecimal hthjje) {
        this.hthjje = hthjje;
    }

    public BigDecimal getHthjje() {
        return hthjje;
    }

    public void setSqmsgje(BigDecimal sqmsgje) {
        this.sqmsgje = sqmsgje;
    }

    public BigDecimal getSqmsgje() {
        return sqmsgje;
    }

    public void setSqmdxje(BigDecimal sqmdxje) {
        this.sqmdxje = sqmdxje;
    }

    public BigDecimal getSqmdxje() {
        return sqmdxje;
    }

    public void setSqmqxje(BigDecimal sqmqxje) {
        this.sqmqxje = sqmqxje;
    }

    public BigDecimal getSqmqxje() {
        return sqmqxje;
    }

    public void setSqmhjje(BigDecimal sqmhjje) {
        this.sqmhjje = sqmhjje;
    }

    public BigDecimal getSqmhjje() {
        return sqmhjje;
    }

    public void setBqsgje(BigDecimal bqsgje) {
        this.bqsgje = bqsgje;
    }

    public BigDecimal getBqsgje() {
        return bqsgje;
    }

    public void setBqdxje(BigDecimal bqdxje) {
        this.bqdxje = bqdxje;
    }

    public BigDecimal getBqdxje() {
        return bqdxje;
    }

    public void setBqqxje(BigDecimal bqqxje) {
        this.bqqxje = bqqxje;
    }

    public BigDecimal getBqqxje() {
        return bqqxje;
    }

    public BigDecimal getBqhjje() {
        return bqhjje;
    }

    public void setBqhjje(BigDecimal bqhjje) {
        this.bqhjje = bqhjje;
    }

    public void setBqmsgje(BigDecimal bqmsgje) {
        this.bqmsgje = bqmsgje;
    }

    public BigDecimal getBqmsgje() {
        return bqmsgje;
    }

    public void setBqmdxje(BigDecimal bqmdxje) {
        this.bqmdxje = bqmdxje;
    }

    public BigDecimal getBqmdxje() {
        return bqmdxje;
    }

    public void setBqmqxje(BigDecimal bqmqxje) {
        this.bqmqxje = bqmqxje;
    }

    public BigDecimal getBqmqxje() {
        return bqmqxje;
    }

    public void setBqmhjje(BigDecimal bqmhjje) {
        this.bqmhjje = bqmhjje;
    }

    public BigDecimal getBqmhjje() {
        return bqmhjje;
    }

    public void setBqwcbl(Integer bqwcbl) {
        this.bqwcbl = bqwcbl;
    }

    public Integer getBqwcbl() {
        return bqwcbl;
    }

    public void setBqmwcbl(Integer bqmwcbl) {
        this.bqmwcbl = bqmwcbl;
    }

    public Integer getBqmwcbl() {
        return bqmwcbl;
    }

    public void setCjz(String cjz) {
        this.cjz = cjz;
    }

    public String getCjz() {
        return cjz;
    }

    public void setCjsj(Date cjsj) {
        this.cjsj = cjsj;
    }

    public Date getCjsj() {
        return cjsj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("bdbh", getBdbh())
                .append("qc", getQc())
                .append("xmmc", getXmmc())
                .append("xmbh", getXmbh())
                .append("px", getPx())
                .append("fh", getFh())
                .append("jsfs", getJsfs())
                .append("bzxm", getBzxm())
                .append("hjxm", getHjxm())
                .append("bfbxm", getBfbxm())
                .append("bfb", getBfb())
                .append("htsgje", getHtsgje())
                .append("htdxje", getHtdxje())
                .append("htqxje", getHtqxje())
                .append("hthjje", getHthjje())
                .append("sqmsgje", getSqmsgje())
                .append("sqmdxje", getSqmdxje())
                .append("sqmqxje", getSqmqxje())
                .append("sqmhjje", getSqmhjje())
                .append("bqsgje", getBqsgje())
                .append("bqdxje", getBqdxje())
                .append("bqqxje", getBqqxje())
                .append("bqmsgje", getBqmsgje())
                .append("bqmdxje", getBqmdxje())
                .append("bqmqxje", getBqmqxje())
                .append("bqmhjje", getBqmhjje())
                .append("bqwcbl", getBqwcbl())
                .append("bqmwcbl", getBqmwcbl())
                .append("cjz", getCjz())
                .append("cjsj", getCjsj())
                .toString();
    }

}
